Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.galtea.ai/llms.txt

Use this file to discover all available pages before exploring further.

Returns

Returns a Model object for the given parameters, or None if an error occurs.

Example

model = galtea.models.create(
    name="gpt-5.5-pro " + run_identifier,
    input_cost_per_token=0.00001,
    output_cost_per_token=0.00003,
    cache_read_input_token_cost=0.000005,
    cache_creation_input_token_cost=0.0000125,
    tokenizer_provider="OpenAI",
    source="https://openai.com/api/pricing/",
)

Parameters

name
string
required
Name of the model. Must be unique within your organization.
input_cost_per_token
float
Cost in dollars per input token.
output_cost_per_token
float
Cost in dollars per output token.
cache_read_input_token_cost
float
Cost in dollars per cached input token. Some providers offer reduced rates for cached requests.
cache_creation_input_token_cost
float
Cost in dollars per input token when creating a cache entry.
input_cost_per_token_above_128k_tokens
float
Cost in dollars per input token for contexts larger than 128k tokens, if applicable.
output_cost_per_token_above_128k_tokens
float
Cost in dollars per output token for contexts larger than 128k tokens, if applicable.
tokenizer_provider
string
Provider of the tokenizer used by the model. Examples: "OpenAI" (uses tiktoken), "Anthropic" (uses anthropic-tokenizer).
source
string
The provider or source of the pricing model. This can be a URL to the model’s pricing page or documentation (e.g., https://openai.com/api/pricing/).