Ollama pull Error invalid model name Ollama's model-name parser rejects remote Hugging Face references whose model component exceeds 80 characters, according to a technical analysis of the parser in Ollama's types/model/name.go file. A CPU-only test using synthetic Hugging Face references found that model names of 79 and 80 characters passed validation while 81 and 85 characters returned "invalid model name," matching the failure seen with the 85-character repository name Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF. The analysis recommends duplicating the repository under a shorter name via the hf repos duplicate CLI or importing the GGUF locally with ollama create to bypass the Hugging Face remote identifier. Hmm… after looking into it, this might be a case where the repository name + filename is too long for Ollama : More precisely, I think the repository/model-name part alone may already be long enough to hit Ollama’s model-name validator , before Ollama gets as far as resolving or downloading the GGUF. Your command syntax itself looks reasonable. Hugging Face’s Ollama integration docs https://huggingface.co/docs/hub/ollama explicitly document both: ollama run hf.co/{username}/{repository}:{quantization} and using the full GGUF filename as the tag. So changing the long filename/tag to: :Q8 0 was also a sensible thing to try. The interesting part is the repository name: Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF That part is 85 characters long . Ollama’s current model-name parser https://github.com/ollama/ollama/blob/main/types/model/name.go treats a remote reference roughly as: host / namespace / model : tag so your short form is effectively parsed as: host = hf.co namespace = DavidAU model = Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF tag = Q8 0 and Ollama currently limits that model component to 80 characters . So shortening only the tag from a full .gguf filename to Q8 0 would not change the part that appears to be failing. I did a small CPU-only sanity check against Ollama rather than downloading the actual large model. Using otherwise equivalent synthetic Hugging Face model references, the boundary came out cleanly: php model part length 79 - passed model-name validation model part length 80 - passed model-name validation model part length 81 - "invalid model name" model part length 85 - "invalid model name" The actual 85-character repository name also produced the same local invalid model name behavior. So I would currently treat the name-length mismatch as the first blocker , rather than assuming that the GGUF itself or Q8 0 is invalid. If you have enough Hub storage, I think a useful test would be to duplicate the same repository under a much shorter name and leave the actual GGUF unchanged. For example, something conceptually like: your-account/qwen38-fcf-gguf and then: ollama run huggingface.co/your-account/qwen38-fcf-gguf:Q8 0 Hugging Face now has a server-side repository duplication API/CLI, so this does not necessarily require manually downloading and re-uploading the whole repository: hf repos duplicate \ DavidAU/Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF \ your-account/qwen38-fcf-gguf See the repository duplication docs https://huggingface.co/docs/huggingface hub/guides/repository and hf repos duplicate https://huggingface.co/docs/huggingface hub/main/package reference/cli . There is also the Hugging Face Repo Duplicator Space https://huggingface.co/spaces/huggingface-projects/repo duplicator if that is more convenient. The nice thing about this test is that it changes essentially one variable : same GGUF same quantization same Ollama different/shorter repository identifier So if the error changes from: invalid model name to something like: pulling manifest then even if a different error appears afterward, that would be useful evidence that the name-validation problem was indeed the first blocker. If you do not want to duplicate a Hub repository at all, the other fairly standard route is to download the GGUF directly and import it locally with a short Ollama name. Ollama documents that route in its GGUF import guide https://docs.ollama.com/import : FROM /path/to/file.gguf then: ollama create my-model ollama run my-model That bypasses the Hugging Face remote-model identifier entirely. Why I think the 80-character boundary is the relevant one The important distinction here is that the complete command being long is not, by itself, the issue. Ollama parses the reference into individual components. Its source currently documents these limits: namespace: 1..80 model: 1..80 tag: 1..80 See types/model/name.go https://github.com/ollama/ollama/blob/main/types/model/name.go . For this reference: hf.co/DavidAU/Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF:Q8 0 the relevant component is: Qwen3.8-27B-TURBO-Fable-Cold-Fusion-735-882-Heretic-Uncensored-NEO-CODER-MAX-MTP-GGUF which is 85 characters. That also explains why these two attempts can fail identically: ollama pull hf.co/DavidAU/