TextGoogle compatible
Gemini Native
POST /v1beta/models/{model}:generateContent
Google's native Gemini surface. Pass your ByteSpike key as ?key= and call generateContent / streamGenerateContent directly; routes across Gemini 3.1 Pro, Gemini 3.5 Flash, Gemini 2.5 Flash behind one key.
- Vendor
- Google compatible
- Endpoint
- POST /v1beta/models/{model}:generateContent
- Pricing
- $2.00 / $12.00 per 1M (in/out)
Quick start
curl https://llm.bytespike.ai/v1/messages \
-H "x-api-key: $BYTESPIKE_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "content-type: application/json" \
-d '{
"model": "gemini-generate-content",
"max_tokens": 1024,
"messages": [
{ "role": "user", "content": "Hello, ByteSpike." }
]
}'Full reference at docs.bytespike.ai
Schemas, request/response examples, error codes, and code samples in five SDKs. We're moving everything into the Mintlify surface — until then, this page is the at-a-glance card.
Open external reference