SpicyAPI OpenAI Compatible API

OpenAI / Anthropic protocol shells under `/v1` and the Google Gemini shell under `/v1beta`. They share API keys, limits, validation and billing with `/api/v1` but use the external protocol's own request, response and error shapes. On these paths the API key may be sent as `Authorization: Bearer `, `x-api-key: ` (Anthropic SDKs) or `x-goog-api-key: ` (Google GenAI SDKs); `/api/v1` accepts only `Authorization: Bearer`. Keys in the URL query string are never accepted.

GitHub OpenAPI
Business capability
Model Inference AE-110.10

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1/models List callable models · List callable models in the OpenAI `model` list shape #
Ask an LLM
“Which models can I call right now?”
“Can I list only text models?”
Tell an agent
List every callable model.
List models with modality {modality}.
POST /v1/chat/completions Chat with a model · OpenAI Chat Completions on a SpicyAPI text model #
Ask an LLM
“How do I send a chat completion request to a model?”
“Can I stream the model's response?”
Tell an agent
Chat with {model} on {messages}.
Stream a chat completion from {model} on {messages} with max {max_tokens} tokens.
POST /v1/responses Use the OpenAI Responses API subset · OpenAI Responses API subset on a SpicyAPI text model #
Ask an LLM
“Can I send an input and instructions to a model as a Responses API request?”
“Does the Responses API subset accept function tools?”
Tell an agent
Send {input} to {model} with instructions {instructions}.
Respond to {input} with {model} using {tools} and temperature {temperature}.
POST /v1/messages Send an Anthropic Messages request · Anthropic Messages API on a SpicyAPI text model #
Ask an LLM
“How do I send a message to a model in the Anthropic Messages format?”
“Can I set stop sequences for an Anthropic Messages call?”
Tell an agent
Send {messages} to {model} with max {max_tokens} tokens.
Send {messages} to {model} with stop sequences {stop_sequences} and max {max_tokens} tokens.
POST /v1beta/models/{model}:generateContent Generate content with Google Gemini · Google Gemini generateContent on a SpicyAPI text model #
Ask an LLM
“How do I send a Gemini generateContent request to a model?”
“Can I set a generation config for Gemini content generation?”
Tell an agent
Generate content with Gemini {model} on {contents}.
Generate content with Gemini {model} on {contents} using generation config {generationConfig}.
POST /v1beta/models/{model}:streamGenerateContent Stream Gemini content generation · Google Gemini streamGenerateContent on a SpicyAPI text model #
Ask an LLM
“Can I stream Gemini content generation with the SSE alt format?”
“What does the streamed Gemini response contain?”
Tell an agent
Stream Gemini {model} generation on {contents}.
Stream Gemini {model} generation on {contents} with alt {alt}.
POST /v1/videos Generate a video from a prompt · Create a video generation task in the OpenAI Videos shape #
Ask an LLM
“How do I generate a video from a text prompt?”
“Can I seed a video generation with an image reference?”
Tell an agent
Generate a video of {prompt} with {model}.
Generate a {seconds}-second video of {prompt} from {input_reference} using {model}.
GET /v1/videos/{videoId} Check a video generation task · Retrieve a video task as an OpenAI `video` object #
Ask an LLM
“Has my video generation finished?”
“What state is a video task in?”
Tell an agent
Get video task {videoId}.
Check the status of video generation {videoId}.
GET /v1/videos/{videoId}/content Download a generated video · Redirect to the generated video file #
Ask an LLM
“Where do I download the generated video?”
“Why can't I download a video that's still running?”
Tell an agent
Download the content of video task {videoId}.
Get a download link for video {videoId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spicyapi:spicyapi-openai-compatible-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spicyapi-openai-compatible-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SpicyAPI Public OpenAI Compatible API
  version: 1.0.0
  description: Contract for the implemented `/api/v1` integration surface.
servers:
- url: https://api.spicyapi.ai
  description: Production
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (44 KB total) ---
# Full source: https://artifacts.apis.io/spicyapi/openapi/spicyapi-openai-compatible-api-openapi.yml