Baltor Get started

Models

Gemini 2.5 Flash Preview TTS

By Google. Unknown parameters, a context window of 8,192 tokens, licence Unknown.

Facts

Released
2025-05-01 the release date models.dev records models.dev, read
Licence
Unknown
Open weights
No models.dev records whether the weights are open models.dev, read
Parameters
Unknown
Active parameters
Unknown
Knowledge cutoff
2025-01 the knowledge cutoff models.dev records models.dev, read
Context window
  • 8,192 tokens the context limit models.dev records for the maker's own API models.dev, read
Longest output
  • 16,384 tokens the output limit models.dev records for the maker's own API models.dev, read
Tool calling
  • No models.dev records tool_call as false models.dev, read
Structured output
Unknown
Reasoning controls
  • No models.dev records reasoning as false models.dev, read
Inputs and outputs
text in, audio out models.dev, read
Good for
No source names a use.

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
Google direct0.500 USD10.00 USD8,192 older than 30 days; check the providermodels.dev, read

Run it on your own hardware

No source lists weight files or a parameter count for this model, so its memory needs are Unknown.

Use it from your harness

Set up for Google Gemini API with the model gemini-2.5-flash-preview-tts. Each endpoint page has the same setup for its own address.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "google": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Google Gemini API",
      "options": {
        "baseURL": "https://generativelanguage.googleapis.com/v1beta/openai",
        "apiKey": "{env:GEMINI_API_KEY}"
      },
      "models": {
        "gemini-2.5-flash-preview-tts": {
          "name": "Gemini 2.5 Flash Preview TTS",
          "limit": {
            "context": 8192,
            "output": 16384
          }
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "google": {
      "baseUrl": "https://generativelanguage.googleapis.com/v1beta/openai",
      "api": "openai-completions",
      "apiKey": "$GEMINI_API_KEY",
      "models": [
        {
          "id": "gemini-2.5-flash-preview-tts"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Codex speaks only the Responses API, and Google Gemini API documents no Responses address. A gateway that offers one can sit in between.

  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Claude Code sends Anthropic Messages requests, and Google Gemini API documents no such address. A gateway that translates to that API can sit in between.

  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Sources of this page