Claude API · Setup and first request

Pick a model

Model IDs for the current generation. Check the models overview for the latest list, context windows and prices.

claude-opus-5-5     # most capable general model
claude-sonnet-5-5   # fast, strong at coding and agents
claude-haiku-5-5    # fastest and cheapest
claude-fable-5-1    # most capable, for the hardest tasks

Official Claude API documentation

More setup and first request commands

All setup and first request commands · Claude API cheatsheet

Was this page helpful?