CometAPI is a platform for providing endpoints for Large Language models. See all CometAPI supported models and pricing here.

Authentication

Set your COMETAPI_KEY environment variable. Get your API key from here.
export COMETAPI_KEY=***

Example

Use CometAPI with your Agent:
from agno.agent import Agent
from agno.models.cometapi import CometAPI

agent = Agent(model=CometAPI(), markdown=True)

# Print the response in the terminal
agent.print_response("Explain quantum computing in simple terms")

View more examples here.

Params

ParameterTypeDefaultDescription
idstr"gpt-5-mini"The specific model ID used for generating responses.
namestr"CometAPI"The name identifier for the CometAPI agent.
providerstr"CometAPI" + idThe provider of the model, combining "CometAPI" with the model ID.
api_keyOptional[str]-The API key for authenticating requests to the CometAPI service. Retrieved from the environment variable COMETAPI_KEY.
base_urlstr"https://api.cometapi.com/v1"The base URL for making API requests to the CometAPI service.
CometAPI also supports the params of OpenAI.