API Reference
Log In
API Reference

Create a New AI Model

Creates a new AI model.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The name of the model

string
enum
required

The AI model provider. Allowed values: OPENAI, ANTHROPIC, OLLAMA, LITELLM, ALIBABA, GEMMA, DEEPSEEK, GOOGLE, GEMINI, AMAZON, CUSTOM

number
required

The cost per input token in USD

number
required

The cost per output token in USD

number

The cost per input token for cache creation in USD (for models that support prompt caching)

number

The cost per input token for cache reads in USD (for models that support prompt caching)

string
required

The model mode or variant (e.g., 'chat', 'completion', 'embedding')

boolean

Indicates if the model supports function calling

boolean

Indicates if the model supports parallel function calling

boolean

Indicates if the model supports response schema

boolean

Indicates if the model supports vision capabilities

boolean

Indicates if the model supports prompt caching

boolean

Indicates if the model supports system messages

boolean

Indicates if the model supports tool choice

boolean

Indicates if the model supports web search

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/hal+json
*/*