

Meet the PaLM API
Access the advanced capabilities of Google’s large language models like PaLM 2 with the PaLM API. Use it to build generative AI applications for use cases like content generation, dialog agents, summarization, classification, and more.

Get started:
-
Get your API key and start prototyping quickly
Try the PaLM API
$ curl \ -H 'Content-Type: application/json' \ -d '{"prompt": {"text": "Write a story about a magic backpack."} }' \ 'https://generativelanguage.googleapis.com/v1beta2/models/text-bison-001:generateText?key=YOUR_KEY'
-
Already a Google Cloud customer? Access the PaLM API in Vertex AI today. Try it for free.


How the PaLM API performs
PaLM 2, the model behind the PaLM API, excels at complex tasks
Thanks to the PaLM 2 model architecture, the PaLM API offers fast and efficient performance. With speeds up to 75+ tokens per second and a context window of 8,000 tokens, it can handle complex prompts and instructions quickly.
PaLM API partners











Integrated into Google tools you already use

