List models
Returns the list of all available models, their IDs, pricing, and capabilities. Works through both endpoints.
OpenAI
Python
models = client.models.list()for model in models.data: print(model.id, model.created)Anthropic (raw HTTP)
Python
# Anthropic SDK doesn't expose a list endpoint — use raw HTTPimport httpxresponse = httpx.get( "https://api.IQXtokenfactory.com/anthropic/v1/models", headers={ "x-api-key": "tf-your-key", "anthropic-version": "2023-06-01", },)print(response.json())