# Submit Framework batches from message lists

> Submit existing typed messages and request configuration as a batch, reuse the client for collection, and keep the completion builder available.

Source: <https://everruns.com/docs/changelog/2026-10-28-framework-batch-message-lists/>

Date: 2026-10-28
Products: Framework
Category: Improvement
Available: In 0.50.1

Framework batches now accept a list of typed requests through `Batch::submit_requests`. Reuse existing messages and configuration without building a `Completion` for each request. This API is on `main` and is not in the published `0.49.0` crate; use the Git dependency in the [batch guide](https://everruns.com/docs/framework/batch-model-requests/), then enable `anthropic`:

```rust
use everruns::{
    batch::{Batch, BatchRequest}, llm::{Message, MessageRole},
    providers::anthropic::Anthropic, LlmCallConfig,
};


let mut config = LlmCallConfig::new("claude-sonnet-5");
config.max_tokens = Some(64);
let client = Batch::new(Anthropic::from_env()?, "reviews/anthropic-account");
let ticket = client.submit_requests(vec![BatchRequest {
    id: "review_001".into(),
    messages: vec![Message::text(MessageRole::User, "Classify: delivery arrived early.")],
    config,
}]).await?;
```

The same client can poll, collect or cancel the returned ticket. The builder remains available, and both input paths share validation, tenant/account scoping and uncertain-submission handling. See [Batch Model Requests](https://everruns.com/docs/framework/batch-model-requests/) for both styles and the updated runnable eval example.

## Update 2026-10-28

Batch support includes OpenAI, Gemini, Mistral, Groq and Fireworks. See [Batch Model Requests](https://everruns.com/docs/framework/batch-model-requests/) for configuration and limits. Fireworks cancellation is unsupported.