NaviGator AI

Getting Started

Create an API key and make your first NaviGator AI Toolkit request

NaviGator AI Toolkit provides an OpenAI-compatible API for text generation, image generation, embeddings, speech recognition and other AI workloads.

Before you begin

Every UF student, faculty and staff member can sign in with GatorLink credentials and create personal API keys for locally hosted models in the default navigator-toolkit team. Personal keys include a $100 per month credit for local models that resets at the beginning of each month. See UFIT Service Eligibility for eligibility details.

Cloud models require membership in a team with approval and billing arrangements. If your project needs cloud models and does not have a team, follow Request a team.

Keep API keys private. Never add them to source control, browser code, shared notebooks, screenshots or support requests.

Create an API key

  1. Sign in to NaviGator AI Toolkit

    Open NaviGator AI Toolkit and sign in. The Virtual Keys page lists your keys.

  2. Start creating a key

    Select + Create New Key.

    Virtual Keys in the NaviGator AI Toolkit portal, listing a standard user's two keys with their masked value, team, owner, spend against a $25 budget and budget reset date, and the Create New Key button.
  3. Configure the key

    Complete the key form:

    • Owned By: Leave this set to You for a personal key.
    • Team: Select the team responsible for the key's usage. For a personal key for local models, select navigator-toolkit.
    • Key Name: Enter a descriptive name that identifies the application or purpose.
    • Models: Select the models the key may use, or leave it empty to allow every model your team can use.
    • Optional Settings: Change limits only when needed.
    The Create New Key dialog with Owned By set to You, the navigator-toolkit team selected and course-project entered as the key name.

    If you leave Optional Settings unchanged, the new key has a $25 budget that resets every 30 days and expires after 90 days.

    Select Create Key when the configuration is complete.

  4. Copy and store the key

    NaviGator AI Toolkit displays the secret key once. Select Copy Virtual Key and store it in an approved secret manager or another secure location.

    The Save your Key dialog shown once after a key is created, with the secret key hidden and the Copy Virtual Key button.

    If you lose the secret, generate a replacement. NaviGator AI Toolkit cannot display the complete secret again.

  5. Review the key

    After closing the dialogs, the key appears on the Virtual Keys page. Select its name to review its spend, rate limits, models and expiry date.

    The details page for a key, showing its spend, budget, models and settings.

Make your first request

  1. Store your key

    Store the key once so your terminal, coding agents and scripts can read it as NAVIGATOR_TOOLKIT_API_KEY. These commands keep the key out of configuration files and your shell history.

    Save the key in your macOS Keychain. The command asks you to paste it twice, and nothing appears as you paste:

    security add-generic-password -a "$USER" -s navigator-toolkit -w

    Then load it, and the Toolkit address, into every new terminal:

    echo 'export NAVIGATOR_TOOLKIT_API_KEY="$(security find-generic-password -a "$USER" -s navigator-toolkit -w)"' >> ~/.zshrc
    echo 'export NAVIGATOR_API_BASE_URL="https://api.navigator.ai.ufl.edu/v1"' >> ~/.zshrc
    source ~/.zshrc

    If macOS asks whether security may use the Keychain item, select Always Allow.

    Check that the key loaded without printing it:

    [ -n "$NAVIGATOR_TOOLKIT_API_KEY" ] && echo "Key loaded" || echo "Key missing"

    Programs you start from a terminal can read this variable, so use the key only on a computer you trust. To keep it out of your environment entirely, see Other ways to store the key.

  2. Choose a model

    Browse the model inventory and select a model available in NaviGator AI Toolkit. Each model page includes its exact model ID, capabilities, pricing, approved data classifications and lifecycle status.

    You can also list the model IDs available to your key:

    curl "$NAVIGATOR_API_BASE_URL/models" \
      --header "Authorization: Bearer $NAVIGATOR_TOOLKIT_API_KEY"

    The examples below use gpt-oss-120b:

    export NAVIGATOR_MODEL="gpt-oss-120b"
  3. Send a chat completion

    Send a request to the OpenAI-compatible chat completions endpoint:

    curl "$NAVIGATOR_API_BASE_URL/chat/completions" \
      --header "Authorization: Bearer $NAVIGATOR_TOOLKIT_API_KEY" \
      --header "Content-Type: application/json" \
      --data "{
        \"model\": \"$NAVIGATOR_MODEL\",
        \"messages\": [
          {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},
          {\"role\": \"user\", \"content\": \"Write a poem about alligators.\"}
        ]
      }"

    A successful response includes the generated message under choices[0].message.content.

Replace or remove the key

If a key is exposed, delete it on the Virtual Keys page right away, create a new one and store it again with the step above. Storing a new key replaces the old one.

To remove the key from your computer:

security delete-generic-password -a "$USER" -s navigator-toolkit

Then delete the two NAVIGATOR_ lines from ~/.zshrc.

Removing the key from your computer does not revoke it. Delete it in NaviGator AI Toolkit to end its access.

Other ways to store the key

  • A secret manager. For applications and servers, keep the key in an approved secret manager or protected server environment and load it at run time.
  • Inside the tool. OpenCode can store the key in its own credential file, and pi can call a secret-manager command. See Install and configure OpenCode and Install and configure pi.
  • For one terminal session only. On a shared computer, read the key through a hidden prompt each time instead of storing it. It disappears when the terminal closes.
IFS= read -r -s 'NAVIGATOR_TOOLKIT_API_KEY?NaviGator AI Toolkit key: '
printf "\n"
export NAVIGATOR_TOOLKIT_API_KEY
export NAVIGATOR_API_BASE_URL="https://api.navigator.ai.ufl.edu/v1"

Next steps

On this page