gemini-2.5-flash API

APImart directory import; basic capabilities only.

google/gemini-2.5-flash · Google · Text

Availability and pricing

Published contract · ready

$0.288 per 1 million input tokens; $2.399904 per 1 million output tokens

Prices shown use the public default price group. Your account price and the request quote determine the amount reserved and charged.

Published verification: 2026-10-05T21:13:31.537Z

Pricing revision: rev_8bfc6348-fde6-49b0-ac53-cf85dfd3d6a7

Supported inputs and limits

chat

max Input Tokens
2048
max Output Tokens
512
default Output Tokens
256
tools
Not enabled
multimodal Input
Not enabled
reasoning
Not enabled
cache
Not enabled
conversation
Enabled
structured Output
Not enabled
compact
Not enabled
streaming
Enabled
{
  "kind": "chat",
  "modes": [
    "chat"
  ],
  "qualities": [
    "standard"
  ],
  "units": [
    1
  ],
  "aspects": [],
  "resolutions": [],
  "maxReferences": 0,
  "maxInputTokens": 2048,
  "maxOutputTokens": 512,
  "defaultOutputTokens": 256,
  "protocols": [
    "chat"
  ]
}

Limitations

  • Draft only until live verification and actual cost reconciliation pass. Tools, vision, explicit reasoning, structured output and compaction are disabled pending dedicated live evidence.

API request example

Use your own API key. This is a request body; asynchronous tasks also require checking their status and output.

POST /v1/chat/completions
{
  "model": "google/gemini-2.5-flash",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 256
}
Open API examples

Try this model

Sign in and check your available credits before sending a request.

Open Playground Compare models API documentation